﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class Buttons : MonoBehaviour
{
    public void To1()
    {
        SceneManager.LoadScene("TutorialChapter1");
    }
    public void To3()
    {
        SceneManager.LoadScene("TutorialChapter3");
    }
    public void To2()
    {
        SceneManager.LoadScene("TutorialChapter2");
    }
    public void To_Game()
    {
        SceneManager.LoadScene("In_game");
    }
    public void To_Stage()
    {
        Time.timeScale = 1;
        SceneManager.LoadScene("StageSelect");
    }
    public void To_Menu()
    {
        Time.timeScale = 1;
        SceneManager.LoadScene("Menu");
    }
    public void To_Tutotial()
    {
        SceneManager.LoadScene("TutorialScene");
    }
    public void Button_Exit()
    {
        Application.Quit();
    }
    public void GameScene1()
    {
        Audio_Basic.now = 0;
        SceneManager.LoadScene("In_game");
    }
    public void GameScene2()
    {
        Audio_Basic.now = 1;
        SceneManager.LoadScene("In_game");
    }
    public void GameScene3()
    {
        Audio_Basic.now = 2;
        SceneManager.LoadScene("In_game");
    }

}
